

import 'package:furaha_mkopo/net/fm_http_model.dart';

class FMMeModel extends FMHttpModel {

  List<FMMeBeamedModel>? beamed;

  FMMeShowedModel? showed;

  int? fists;

  FMMeClenchedModel? clenched;

  FMMeModel({
    this.beamed,
    this.showed,
    this.fists,
    this.clenched
  });

  @override
  FMMeModel fromJson(Map<String, dynamic> json) {

    showed = FMMeShowedModel.fromJson(json['showed']);
    fists = json["fists"];
    clenched = FMMeClenchedModel.fromJson(json['clenched']);
    if (json['beamed'] != null) {
      beamed = List<FMMeBeamedModel>.from(
          json['beamed'].map((e) => FMMeBeamedModel.fromJson(e)));
    }

    return this;

  }

}

class FMMeBeamedModel {

  String? soul;
  String? bidding;
  String? god;

  FMMeBeamedModel({
    this.soul,
    this.bidding,
    this.god
  });

  FMMeBeamedModel.fromJson(Map<String, dynamic> json) {
    soul = json["soul"];
    bidding = json["bidding"];
    god = json["god"];
  }
}

class FMMeShowedModel {
  String? venture;
  String? bold;

  FMMeShowedModel.fromJson(Map<String, dynamic> json) {
    venture = json["venture"];
    bold = json["bold"];
  }
}

class FMMeClenchedModel {
  String? soul;
  String? stopped;
  String? sentence;

  FMMeClenchedModel.fromJson(Map<String, dynamic> json) {
    soul = json["soul"];
    stopped = json["stopped"];
    sentence = json["sentence"];
  }
}